package com.blog.service;


import com.blog.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 *
 * @author JiaFuJun
 * @version v1.0
 * @date 2020-05-13
 */
public interface UserService {

    void save(User record);

    void update(User record);

    void del(Object id);

    User selectByPrimaryKey(Object id);

    List<User> getList(User record);

    PageInfo<User> pageList(User record, Integer pageNo, Integer pageSize);

    User getByName(String userName);
}